import request from '@/utils/request'

/**
 * 获取设备列表
 * @param {Object} data
 */
export function list(data){
  return request({
    url: '/v1/device/list',
    method: 'get',
    params:data
  })
}
/**
 * 截屏
 * @param {Object} data
 */
export function snap(data){
  return request({
    url: '/v1/device/snap',
    method: 'get',
    params:data
  })
}
